Convo\Wp\Pckg\WpPluginPack\EasyAppointmentsContext A

Total Complexity 61
Dependencies 12
Dependents 0
Total lines 304
Lines of code 244
Logical lines of code 169
Comment lines 26
Methods 20
Properties 7

Methods 20

Method Rating Maintainability Complexity Lines of code
updateAppointment()
A
44 8 42
_validatePayload()
S
60 8 11
getFreeSlotsIterator()
S
51 7 23
isSlotAvailable()
S
53 7 21
createAppointment()
S
44 5 40
_getVacationDaysOfWorker()
S
60 4 13
loadAppointments()
S
59 3 14
_isWorkerOnVacationForTimeSlot()
S
65 3 9
init()
S
62 2 11
_marshalAppointment()
S
61 2 10
_getWorkingHoursOfAnDay()
S
67 2 8
getAppointment()
S
66 2 8
getDefaultTimezone()
S
80 1 3
_getDefaultAppointmentStatus()
S
79 1 3
_getEasyAppointmentsOpenSlots()
S
72 1 4
cancelAppointment()
S
72 1 5
_getFieldForAppointmentByAppointmentIdAndFieldId()
S
69 1 6
getId()
S
82 1 3
getComponent()
S
82 1 3
__construct()
S
67 1 7